package com.ytjj.qmyx.admin.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 *
 * 
 * @description:
 */
@Data
@Component
@RefreshScope
public class CommonPropertiesConfig {

    //新后台分类是否开启
    @Value("${qmyx.category.switch:false}")
    private boolean categorySwitch;
}
